﻿using System;
using System.Collections.Generic;
using System.Text;

namespace CJJ_BlogApiV3.Model.ReuqestModel
{
    /// <summary>
    /// 密码登录
    /// </summary>
    public class PasswordLoginRequest
    {
        /// <summary>
        /// 用户名
        /// </summary>
        public string UserName { get; set; }
        /// <summary>
        /// 密码
        /// </summary>
        public string PassWord { get; set; }
        /// <summary>
        /// 验证码
        /// </summary>
        public string Code { get; set; }
        /// <summary>
        /// 本地key 防止其它地方使用
        /// </summary>
        public string CodeKey { get; set; }
    }

    /// <summary>
    /// 登录code
    /// </summary>
    public class LoginCode
    {
        public string UserName { get; set; }
        /// <summary>
        /// 本地key 防止其它地方使用
        /// </summary>
        public string CodeKey { get; set; }
    }
}
